#pragma once

#include "PhysicRigidBody.h"
#include "PhysicCollisionDetection.h"
#include "PhysicCollisionResolution.h"

class PhysicSystem{
private:
	LinkedList<PhysicRigidBody *> m_RigidBodyList;

	PhysicCollisionDetection m_PhysicCollisionDetection;
	PhysicCollisionResolution m_PhysicCollisionResolution;

public:
	PhysicSystem();
	~PhysicSystem();

	int Initialize();
	int Update(float a_timePassed);
	void Release();

	void Create(PhysicObject *a_PhysicObject);
	void Destroy(PhysicObject *a_PhysicObject);

};